<template>
	<view class="">
		<view class="box">
			<view class="title">
				{{name}}
			</view>
			<image src="../../static/image/删除.png" mode="" v-if="flag"></image>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			name:{
				type:String,
			},
			flag:{
				type:Boolean,
				default:false
			}
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: 39rpx;

		.title {
			margin-left: 25rpx;
			font-family: MicrosoftYaHei;
			font-size: 34rpx;
			color: #444444;
		}

		image {
			width: 24rpx;
			height: 28rpx;
			margin-right: 25rpx;
		}
	}
</style>
